import Main from "@/layout/main";
export default [
  {
    path: "/main",
    name: "main",
    component: Main,
    children: [
      {
        path: "/home",
        name: "home",
        meta: {
          title: "首页",
        },
        component: () => import("@/pages/home/home"),
      },
    ],
  },
  {
    path: "/",
    redirect: {
      name: "home",
    },
  },
  {
    path: "/login",
    name: "login",
    meta: {
      title: "登录",
    },
    component: () => import("@/pages/login/login"),
  },
];
